package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.annotation.FieldDescription;
import com.ruoyi.system.annotation.NeedOperate;
import com.ruoyi.system.annotation.ViewEntity;
import com.ruoyi.system.enumutil.AuditRecordsEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiSiPing
 * @since 2025-02-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AuditRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @FieldDescription(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @FieldDescription(value = "用户id")
    @ViewEntity
    @NeedOperate
    private Long userId;

    //查出提交人审核人的信息
    @TableField(exist = false)
    private SysUser userXinXi;


    @FieldDescription(value = "待审核项目的ID")
    @ViewEntity
    @NeedOperate
    private Long addWechatId;

    @FieldDescription(value = "审核类型")
    @ViewEntity
    @NeedOperate
    private Integer auditType;

    @FieldDescription(value = "审核状态")
    @ViewEntity
    @NeedOperate
    private Integer addStatus;

    @FieldDescription(value = "审核详情")
    @ViewEntity
    @NeedOperate
    private String auditDetails;

    @FieldDescription(value = "审核图片")
    @ViewEntity
    @NeedOperate
    private String auditImg;

    @FieldDescription(value = "创建时间")
    @ViewEntity
    private Date createTime;

    @FieldDescription(value = "创建人")
    private String createBy;

    @FieldDescription(value = "修改时间")
    private Date updateTime;

    @FieldDescription(value = "修改人")
    private String updateBy;

    @FieldDescription(value = "逻辑删除")
    private Boolean deleteFlag;
    @FieldDescription(value = "微信号码")
    private String wechatNumber;
    //发布人的id
    private Long addWechatUserId;
    //页码
    @TableField(exist = false)
    public Long current;


    //行数
    @TableField(exist = false)
    private Long size;

    //add_wechat
    @TableField(exist = false)
    private AddWechat addWechat;


}
